package com.alks.function.data.request.stockdept.pcfactoryquery;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.datatype.jsr310.deser.LocalDateTimeDeserializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author MS
 * @since 2024/8/13下午6:32
 */
@Data
public class PackMatchRequest {

    @ApiModelProperty(value = "指令")
    private String lotNo;

    @ApiModelProperty(value = "型体")
    private String style;

    @ApiModelProperty(value = "包材类别")
    private String mtlType;

    @ApiModelProperty(value = "材料名称")
    private String mtlName;

    @JsonDeserialize(using = LocalDateTimeDeserializer.class)
    @ApiModelProperty(value = "交期始")
    private LocalDateTime deliveryDateStart;

    @JsonDeserialize(using = LocalDateTimeDeserializer.class)
    @ApiModelProperty(value = "交期始")
    private LocalDateTime deliveryDateEnd;

    @ApiModelProperty(value = "配套状况 1.已配套 0.未配套")
    private Integer matchFlag;

    @ApiModelProperty(value = "排序字段")
    private String orderFile;

    @ApiModelProperty(value = "排序方式 1.顺序 0.逆序")
    private Integer orderType;
}
